{if (!empty($listData))}
  <div id="all_Content" class="clearfix mB20">
    {$this->element('search_special_popup')}
    <!-- wrap-location -->
    {$oldCountryName = ''}
    {$cnt = count($listData)}
    {$i = 0}
    {foreach $listData as $item}
        {$newCountryName = $item['IKYOCOMSearchLowestHotelListModel']['country_name_ja']}
        <!-- first row -->
        {if ($oldCountryName != $newCountryName && $i != 0)}
          </ul>
        </div><!-- end wrap-location-->
        {/if}
        {if ($oldCountryName != $newCountryName)}
        <div class="wrap-location">
          <h2 class="location-title">
            {$item['IKYOCOMSearchLowestHotelListModel']['country_name_ja']}<span class="fz20">／{$item['IKYOCOMSearchLowestHotelListModel']['country_name_en']}</span>
            <span class="location-district">{$item['IKYOCOMSearchLowestHotelListModel']['area_name_ja']}</span>
          </h2>
          <ul class="location-hotel clearfix">
        {/if}
            <li>
                <div class="thumb_image">
                      {$imageSrc = $arrImages[$item[{$strModel}]['hotel_code']]['a_md_image_path']}
                      {if (empty($imageSrc))}
                          {$imageSrc = '/common/img/noimage/noimage_a_md.gif'}

                      {/if}
                      <a href="/hotel/{IKYOCOMUltility::base64Encode($item['IKYOCOMSpecialContentHotelModel']['hotel_code'])}{$paramString}"><img src="{$imageSrc}" alt="" /></a>
               </div>
              <div class="location-hotel__info">
                <h3><a href="/hotel/{IKYOCOMUltility::base64Encode($item['IKYOCOMSpecialContentHotelModel']['hotel_code'])}{$paramString}">{$item['IKYOCOMSearchLowestHotelListModel']['hotel_name_ja']}</a></h3>
                <p class="name_hotel">{$item['IKYOCOMSearchLowestHotelListModel']['hotel_name_en']}</p>
                <p class="address_hotel">{$item['IKYOCOMSearchLowestHotelListModel']['country_name_ja']}, {$item['IKYOCOMSearchLowestHotelListModel']['city_name_ja']}</p>
              </div>
              <p class="prices"><span class="mR10">{$item[0]['los']} 泊 {$item[0]['available_rooms']} 室</span>  <strong>{($item[0]['low_amount_after_tax']*$arrCurrencyRate[$item['IKYOCOMSearchLowestHotelListModel']['currency_code']])|number_format:0:'.':','}円～</strong> （税サ込）</p>
            </li>
         <!-- last row -->
        {if ($i == $cnt - 1)}
          </ul>
        </div><!-- end wrap-location-->
        {/if}
        {$i = $i + 1}
        {$oldCountryName = $newCountryName}
    {/foreach}
    <p id="back-top"><a href="#top"><span></span></a></p>
  </div>
  <!-- end all-content -->
  {else}
    <div id="all_Content" class="clearfix mB20">
        {$this->element('search_special_popup')}
        <p class="borB_2 mB15 fz18">
                {$message}
        </p>
        <p id="back-top"><a href="#top"><span></span></a></p>
      </div>
  {/if}